package com.xyh.concurrency.example.thredLocal;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

@Controller
@RequestMapping("/test/")
public class HttpFilterContrller {
    @RequestMapping("test")
    @ResponseBody
    public Long test() {
        System.err.println("============4============");
        //   int i =  1/0;
        return RequestHolder.getId();
    }


}
